package org.mtmi.ui.controls.edits;

import java.util.List;

import org.mtmi.ui.actions.ActionFactory;
import org.mtmi.ui.actions.IAction;
import org.mtmi.ui.controls.Knob;

public class KnobControlEditor extends AbstractRangeValueControlEditor
{
	
	public KnobControlEditor( Knob s ) {
		super( s );
	}
	
	@Override
	public Knob getControl() { return (Knob)super.getControl(); }
	
	@Override
	public List<IAction> getControlActions() {
		List<IAction> actions = super.getControlActions();
		actions.add( ActionFactory.KNOB_TYPE );
		actions.add( ActionFactory.KNOB_FOREGROUND_COLOR );
		actions.add( ActionFactory.BACKGROUND_COLOR );
		actions.add( ActionFactory.KNOB_DOT_COLOR );
		actions.add( ActionFactory.KNOB_VALUE_COLOR );
		return actions;
	}
}
